<?php

/**
 * Sitemap Model
 *
 */
class Sitemap_Model_Sitemap
{
    const RESOURCE_NAME='sitemap';
    
    /**
     * Returns an array with URL links
     * 
     * @return array
     */
    static function fetch($page=1,$limit=100)
    {
        $nodeTbl=new Application_Model_NodeDb();
        
        return $nodeTbl->getNodesPageByType('node',$page,$limit,true);
    }
}
